#include "hfunction.h"

HFunction::HFunction()
{

}

HObject HFunction::run(const HObject &object)
{
    HObject obj2;
    obj2.value1 = object.value1 + 100;
    return obj2;
}

HObject HFunction::run(const HObject *object)
{
    HObject obj2;
    obj2.value1 = object->value1 + 1000;
    return obj2;
}
